Automated post-accident sampling (APAS)